/*
spark_create();
*/
var spark, stm;
if !(argument3 > 0){
	stm = 1;
}
else{
	stm = argument3;
}
spark = instance_create(argument0,argument1,obj_spark);
spark.sprite_index = argument2;
spark.image_speed = stm;
spark.alarm[0] = sprite_get_number(argument2)/stm;
return (spark);
